1. Pong
a brief history of Pong
Pong (marketed as PONG) is one of the earliest arcade video games; it is a tennis
sports game featuring simple two-dimensional graphics. While other arcade video
games such as Computer Space came before it, Pong was one of the first video
games to reach mainstream popularity. The aim is to defeat the opponent in a
simulated table tennis game by earning a higher score. The game was originally
manufactured by Atari Incorporated (Atari), who released it in 1972.
Finite
State
Machines
Closed
llision
Check for Paddle co
Update ball
walk through Insert coin input
Open
Wall
1 Score board
0
this
is Score zone
the
Sc
or
ez
on
e
Paddle
2. amount of states that are active during the game in which different possible
outcomes can occur in this next logic chart this will explain the basic of the game if I
were to program this game into a computer. these are 4 different collisions that can
occur
1. Ball hits paddle
2. ball hits the wall
3. ball in scoring zone
4. paddle hits the wall
Start
Reset Ball event
Paddle
Check for player Check for Paddle Check for collision Check for wall
Left Which side Right
Inputs collision with scoring zone collision ball
Update
player B Player
Update the ball +1 score +1
score
Update score
card
If A scores 10 player A wins
Else
If B scores 10 player B wins
Else Reset ball
3. amount of states that are active during the game in which different possible
outcomes can occur in this next logic chart this will explain the basic of the game if I
were to program this game into a computer. these are 4 different collisions that can
occur
1. Ball hits paddle
2. ball hits the wall
3. ball in scoring zone
4. paddle hits the wall
Start
Reset Ball event
Paddle
Check for player Check for Paddle Check for collision Check for wall
Left Which side Right
Inputs collision with scoring zone collision ball
Update
player B Player
Update the ball +1 score +1
score
Update score
card
If A scores 10 player A wins
Else
If B scores 10 player B wins
Else Reset ball
4. amount of states that are active during the game in which different possible
outcomes can occur in this next logic chart this will explain the basic of the game if I
were to program this game into a computer. these are 4 different collisions that can
occur
1. Ball hits paddle
2. ball hits the wall
3. ball in scoring zone
4. paddle hits the wall
Start
Reset Ball event
Paddle
Check for player Check for Paddle Check for collision Check for wall
Left Which side Right
Inputs collision with scoring zone collision ball
Update
player B Player
Update the ball +1 score +1
score
Update score
card
If A scores 10 player A wins
Else
If B scores 10 player B wins
Else Reset ball
5. amount of states that are active during the game in which different possible
outcomes can occur in this next logic chart this will explain the basic of the game if I
were to program this game into a computer. these are 4 different collisions that can
occur
1. Ball hits paddle
2. ball hits the wall
3. ball in scoring zone
4. paddle hits the wall
Start
Reset Ball event
Paddle
Check for player Check for Paddle Check for collision Check for wall
Left Which side Right
Inputs collision with scoring zone collision ball
Update
player B Player
Update the ball +1 score +1
score
Update score
card
If A scores 10 player A wins
Else
If B scores 10 player B wins
Else Reset ball